<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns:th="http://java.sun.com/jsf/composite">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form method="post" th:action="@{/display}">
        <h1>选课界面</h1>
        <tr>
            <label th:each="course:${students}" class="check-box">
                <input id="course" name="course" type="checkbox" th:value="${course.kcm}">
                <span th:text="${course.kcm}">INGREDIENT</span>
                <span th:text="${course.teacher}">INGREDIENT</span>
                <span th:text="${course.date}">INGREDIENT</span><br>
            </label>
        </tr>
        <tr>
            <td>
                <input  type="submit" value="提交选课结果"/>
            </td>
        </tr>
</form>
<form method="get" th:action="@{/logout}">
    <table border="0" width="600">
        <tr>
            <td colspan="3" height="40">
                <input type="submit" value="退出登录">
            </td>
        </tr>
    </table>
</form>
</body>
</html>